<?php
namespace app\index\controller;

use think\Request;
use think\Db;

class Trade extends Common
{   
    public function _initialize()
    {
        parent::_initialize();
    }

    public function submitCart()
    {	
    	if (Request::instance()->isPost()) {
    		$json = input('post.info');
            $info = json_decode($json, true);
            dump($info);
    	}
    	return $this->fetch();
    }

    public function submit() {

    }
}

